Skip to main content

mobileStoreDisablePurchaseUpdates

Type

command

Summary

Disables the receipt of purchaseStateUpdate messages.

Syntax

mobileStoreDisablePurchaseUpdates

Description

Use the mobileStoreDisablePurchaseUpdates command to disable the receipt of purchaseStateUpdate messages.

The command mobileStoreDisablePurchaseUpdates is used to disable the receipt of purchaseStateUpdate messages from the store. This command is typically used in purchaseStateUpdate message, after processing each message that is sent by the store.

note

This command is used when interacting with the Apple AppStore, however, we suggest using it for every store. Failure to use this command results in continuing to receive purchaseStateUpdate messages from the AppStore.

Examples

on purchaseStateUpdate pPurchaseID, pProductID, pState
switch pState
...
end switch
mobileStoreDisablePurchaseUpdates
end purchaseStateUpdate

command: mobileStoreRestorePurchases, mobileStoreRequestProductDetails, mobileStoreEnablePurchaseUpdates, mobileStoreMakePurchase, mobileStoreSetProductType, mobileStoreConsumePurchase, mobileStoreConfirmPurchase, mobileStoreVerifyPurchase

function: mobileStoreProductProperty, mobileStorePurchasedProducts, mobileStorePurchaseError, mobileStoreCanMakePurchase

message: purchaseStateUpdate, productRequestError, productDetailsReceived

Compatibility and Support

Introduced

LiveCode 6.7

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?